import type { IRoleEntity, IUserEntity } from '@/types'

type SlotRole = { row: IRoleEntity }
type SlotUser = { row: IUserEntity }
type HandleUserType = 'add' | 'delete'

interface IRoleFormData extends IRoleEntity {
  userIds: string[]
}

interface IAuthFormData {
  id: string
  menuIds: string[]
}

export type { IRoleEntity, IUserEntity, SlotRole, SlotUser, HandleUserType, IRoleFormData, IAuthFormData }
